
// BrowseHTMList.h : main header file for the BrowseHTMList application
//
#pragma once

#ifndef __AFXWIN_H__
	#error "include 'stdafx.h' before including this file for PCH"
#endif

#include "resource.h"       // main symbols
#include "htmlist.h"


// CBrowseHTMListApp:
// See BrowseHTMList.cpp for the implementation of this class
//

class CBrowseHTMListApp : public CWinAppEx
{
public:
	CBrowseHTMListApp();


// Overrides
public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();

// Implementation
	UINT  m_nAppLook;
	BOOL  m_bHiColorIcons;

	virtual void PreLoadState();
	virtual void LoadCustomState();
	virtual void SaveCustomState();

	afx_msg void OnAppAbout();
	DECLARE_MESSAGE_MAP()
public:
	CHTMList m_HTMList;
	bool LoadHTMList(CString strFileName);
	bool LoadHTMLItem(void);
	CString m_strFolderPath;
	bool m_bBadItem;

	ULONGLONG m_TickCountBegining;//The time when we begin counting
	ULONGLONG m_TickCountStart;//The time when the current item starts
	ULONGLONG m_TickCountEnd;//The Time when the current item ends

	bool logHTMLItem(CString strID);
	CString m_strItemsFileFullPath;
	CString m_strLogFileName;
	bool logBeep(void);
};

extern CBrowseHTMListApp theApp;
